<?php

$path = base64_decode($_REQUEST['path']);
//  $filepath =  "E:/jchen/".$path;
//$filepath = "/var/vcap/store/fss_backend1/dc55e8f1-6c68-4cdd-a667-7c0c8a386af4/".$path;
$filepath = "/var/vcap/store/fss_backend1/df327e98-f3c3-4b5c-ac53-2042211673db/".$path;


$filename = "123";
$filename=rawurldecode($filename);
$filename=iconv("UTF-8","gb2312//IGNORE",$filename);

header("Pragma: public");
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"$filename\"");

$filecontent = file_get_contents($filepath);
echo $filecontent;exit;
?>